/*
 * ResponsePurchasedOrderData
 *
 *  Created on: 2011-3-11
 *      Author: wangchao
 */

#ifndef CResponsePurchasedOrderData_H_
#define CResponsePurchasedOrderData_H_
#include <e32base.h>
#include <e32cmn.h>

class YuebaoShoppingGoods;

class CResponsePurchasedOrderData : public CBase
{
public:
    // Constructors and destructor

    /**
     * Destructor.
     */
    ~CResponsePurchasedOrderData();

    /**
     * Two-phased constructor.
     */
    static CResponsePurchasedOrderData* NewL();

    /**
     * Two-phased constructor.
     */
    static CResponsePurchasedOrderData* NewLC();

private:

    /**
     * Constructor for performing 1st stage construction
     */
    CResponsePurchasedOrderData();

    /**
     * EPOC default constructor for performing 2nd stage construction
     */
    void ConstructL();
public:
    HBufC* _order_id;
    float _cost;
    HBufC* _trans_time;
    RPointerArray< YuebaoShoppingGoods > _goods;
};

#endif /* CResponsePurchasedOrderData_H_ */
